{#
  Archetype: service-secrets-v1
  
  Description:
    Swarm secrets reference for sensitive data.
  
  Approach:
    - Only applies to swarm mode
    - References secrets defined in top-level secrets section
    - Secrets mounted at /run/secrets/<secret_name>
  
  Usage:
    Use for passwords, API keys, certificates in swarm.
    Requires corresponding secrets-v1 (top-level) archetype.
    Must be used within a service definition.
#}
{% if swarm_enabled %}
    secrets:
      - {{ secret_name }}
{% endif %}
